package com.geek.water.constant;

import java.math.BigDecimal;

/**
 * 计费相关常量
 * @author yangwenqi
 * @date 2025/8/7
 */
public class BillingConstants {

    /**
     * 最小计费单位（吨）
     */
    public static final BigDecimal MIN_BILLING_UNIT = new BigDecimal("0.1");

    /**
     * 最小计费金额（元）
     */
    public static final BigDecimal MIN_BILLING_AMOUNT = new BigDecimal("1.0");

    /**
     * 默认水费单价（元/吨）
     */
    public static final BigDecimal DEFAULT_WATER_PRICE = new BigDecimal("3.5");

    /**
     * 最大序列号
     */
    public static final int MAX_SEQUENCE = 999;

    /**
     * 账单编号前缀
     */
    public static final String BILL_CODE_PREFIX = "WT";

    /**
     * 账单状态：未支付
     */
    public static final String BILL_STATUS_UNPAID = "unpaid";

    /**
     * 账单状态：已支付
     */
    public static final String BILL_STATUS_PAID = "paid";

    /**
     * 账单状态：已逾期
     */
    public static final String BILL_STATUS_OVERDUE = "overdue";

    /**
     * 账单状态：已退款
     */
    public static final String BILL_STATUS_REFUNDED = "refunded";

    /**
     * 参数无效错误信息
     */
    public static final String PARAM_INVALID = "参数无效";
}